.pull-request-files-header {
    display: flex;
    margin: 0 0 $tlp-spacing;
}

.pull-request-file-switcher {
    flex: 1 1 auto;
    margin: 0 $tlp-half-spacing 0 0;

    .fa-caret-down {
        margin: 0 0 0 10px;
    }
}

#file-switcher-dropdown-button {
    display: flex;
    align-items: center;

    .pull-request-file-changes {
        flex: 0 0 auto;
        width: auto;
    }
}

#file-switcher-dropdown-content {
    width: 100%;
    max-height: 280px;
    overflow-y: scroll;
}

.pull-request-file {
    display: flex;
    width: 100%;
}

.pull-request-file-selected {
    background-color: #f3f3f3;
}

.pull-request-file-status {
    display: inline-block;
    flex: 0 0 auto;
    width: 26px;
    font-weight: 600;
    text-align: center;

    // scss-lint:disable SelectorFormat
    &.pull-request-file-status-A {
        color: $tlp-ui-success;
    }

    &.pull-request-file-status-M {
        color: $tlp-ui-warning;
    }

    &.pull-request-file-status-D {
        color: $tlp-ui-danger;
    }
}

.pull-request-file-path {
    flex: 1 1 auto;
    text-align: left;
}

.pull-request-file-changes {
    visibility: hidden;
    flex: 0 0 auto;
    width: 50px;

    &.pull-request-file-show-changes {
        visibility: visible;
    }

    &.pull-request-file-lines-added {
        margin: 0 5px 0 0;
        text-align: right;
    }
}

.pull-request-modified-files-loading {
    height: 30px;
    margin: 0 0 $tlp-spacing;
    background: url('/themes/BurningParrot/images/spinner.gif') no-repeat center center;
}
